package com.itheima.health.dao;

import com.itheima.health.pojo.entity.HotSetmeal;
import com.itheima.health.pojo.entity.Member;
import com.itheima.health.pojo.entity.Order;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.mockito.internal.matchers.Or;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

@Mapper
public interface ReportDao {

//    @Select("sele count(*) from t_member where regTime=#{now}")
    Integer getNewMemberOfDay(LocalDate now);

    Integer getTotalMemberOfWeek(LocalDate startOfWeek, LocalDate endOfWeek);

    Integer getTotalMemberOfMonth(LocalDate startOfMonth, LocalDate endOfMonth);

    Integer getReservationOfDay(LocalDate now);

    Integer DiagnosisCompletedOfDay(LocalDate now);

    Integer getReservationOfWeek(LocalDate startOfWeek, LocalDate endOfWeek);


    Integer getDiagnosisCompletedOfWeek(LocalDate startOfWeek, LocalDate endOfWeek);

    Integer getReservationOfMonth(LocalDate startOfMonth, LocalDate endOfMonth);

    Integer getDiagnosisCompletedOfMonth(LocalDate startOfMonth, LocalDate endOfMonth);


    List<HotSetmeal> getHotSetmeal();
}
